home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PROGRAMR
/
WTJ208.ZIP
/
FRANTZ
/
VB
/
VBTARGET.MAK
< prev
next >
Wrap
Makefile
|
1993-04-10
|
3KB
|
115 lines
PROJ = VBTARGET
DEBUG = 1
PROGTYPE = 2
CALLER =
ARGS =
DLLS =
D_RCDEFINES = -d_DEBUG
R_RCDEFINES = -dNDEBUG
ORIGIN = MSVC
ORIGIN_VER = 1.00
PROJPATH = C:\DATA\WINTECH\03\TARGET\VB\
USEMFC = 0
CC = cl
CPP = cl
CXX = cl
CCREATEPCHFLAG =
CPPCREATEPCHFLAG =
CUSEPCHFLAG =
CPPUSEPCHFLAG =
FIRSTC = CCINIT.C
FIRSTCPP =
RC = rc
CFLAGS_D_VEXE = /nologo /W3 /FR /G2 /Zi /D_DEBUG /Zp /Od /GD /AM /Gc /Fd"VBTARGET.PDB"
CFLAGS_R_VEXE = /nologo /W3 /FR /G2 /f- /DNDEBUG /Gs /Zp /Ox /GD /AM /Gc
LFLAGS_D_VEXE = /NOLOGO /NOD /NOE /PACKC:61440 /ALIGN:16 /ONERROR:NOEXE /CO
LFLAGS_R_VEXE = /NOLOGO /NOD /PACKC:61440 /ALIGN:16 /ONERROR:NOEXE
LIBS_D_VEXE = mafxcwd oldnames libw mdllcew commdlg.lib olecli.lib olesvr.lib shell.lib
LIBS_R_VEXE = mafxcw oldnames libw mdllcew commdlg.lib olecli.lib olesvr.lib shell.lib
RCFLAGS = /nologo
RESFLAGS = /nologo
RUNFLAGS =
DEFFILE = VBTARGET.DEF
OBJS_EXT =
LIBS_EXT = ..\..\..\..\..\MSVC\LIB\VBAPI.LIB
!if "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS_D_VEXE)
LFLAGS = $(LFLAGS_D_VEXE)
LIBS = $(LIBS_D_VEXE)
MAPFILE = nul
RCDEFINES = $(D_RCDEFINES)
!else
CFLAGS = $(CFLAGS_R_VEXE)
LFLAGS = $(LFLAGS_R_VEXE)
LIBS = $(LIBS_R_VEXE)
MAPFILE = nul
RCDEFINES = $(R_RCDEFINES)
!endif
!if [if exist MSVC.BND del MSVC.BND]
!endif
SBRS = CCINIT.SBR \
VBTARGET.SBR
CCINIT_DEP = c:\msvc\include\vbapi.h \
c:\data\wintech\03\target\vb\target.h \
c:\data\wintech\03\target\vb\vbtarget.h
VBTARGET_DEP = c:\msvc\include\vbapi.h \
c:\data\wintech\03\target\vb\target.h \
c:\data\wintech\03\target\vb\vbtarget.h
VBTARGET_RCDEP = c:\data\wintech\03\target\vb\vbtarget.h \
c:\data\wintech\03\target\vb\targetcu.bmp \
c:\data\wintech\03\target\vb\targetcd.bmp \
c:\data\wintech\03\target\vb\targetmu.bmp \
c:\data\wintech\03\target\vb\targeteu.bmp
VBAPI_DEP =
all: $(PROJ).VBX $(PROJ).BSC
CCINIT.OBJ: CCINIT.C $(CCINIT_DEP)
$(CC) $(CFLAGS) $(CCREATEPCHFLAG) /c CCINIT.C
VBTARGET.OBJ: VBTARGET.C $(VBTARGET_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c VBTARGET.C
VBTARGET.RES: VBTARGET.RC $(VBTARGET_RCDEP)
$(RC) $(RCFLAGS) $(RCDEFINES) -r VBTARGET.RC
$(PROJ).VBX:: VBTARGET.RES
$(PROJ).VBX:: CCINIT.OBJ VBTARGET.OBJ $(OBJS_EXT) $(DEFFILE)
echo >NUL @<<$(PROJ).CRF
CCINIT.OBJ +
VBTARGET.OBJ +
$(OBJS_EXT)
$(PROJ).VBX
$(MAPFILE)
c:\msvc\lib\+
c:\msvc\mfc\lib\+
..\..\..\..\..\MSVC\LIB\VBAPI.LIB+
$(LIBS)
$(DEFFILE);
<<
link $(LFLAGS) @$(PROJ).CRF
$(RC) $(RESFLAGS) VBTARGET.RES $@
@copy $(PROJ).CRF MSVC.BND
$(PROJ).VBX:: VBTARGET.RES
if not exist MSVC.BND $(RC) $(RESFLAGS) VBTARGET.RES $@
run: $(PROJ).VBX
$(PROJ) $(RUNFLAGS)
$(PROJ).BSC: $(SBRS)
bscmake @<<
/o$@ $(SBRS)
<<